$padding-size: 10px;

.container {
  min-height: 100vh;
  min-width: 100vw;
  display: flex;
  gap: $padding-size;
  flex-direction: column;

  .header {
    height: 50px;
    background-color: white;
    padding: 0 $padding-size;
  }
  .content {
    flex: 1;
    display: flex;
    height: 100%;

    .left {
      width: 330px;
      background-color: white;
    }
    .center {
      flex: 1;
      position: relative;
      .canvas {
        position: absolute;
        width: 390px;
        height: 744px;
        overflow: auto;
        background-color: white;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        overflow: auto;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
      }
    }
    .right {
      width: 330px;
      background-color: white;
      overflow-y: auto; // 只允许垂直滚动
      max-height: 100%; // 限制高度为父容器的高度
      position: relative;
    }
  }
}
